ThemeisleSDK\Modules\Licenser D

Total Complexity 161
Dependencies 6
Dependents 0
Total lines 1,019
Lines of code 630
Logical lines of code 324
Comment lines 258
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
do_license_process()
B
38 19 67
license_view()
A
39 9 73
auto_activate()
A
49 9 31
show_notice()
A
44 7 51
get_version_data()
A
49 8 33
load()
A
43 7 45
check_license()
A
50 8 29
process_license()
A
52 8 24
pre_set_site_transient_update_plugins_filter()
A
55 8 18
check_for_update()
S
52 7 25
get_license_status()
S
61 7 11
update_nag()
S
50 4 26
get_file_license()
S
57 4 17
plugins_api_filter()
S
63 5 10
check_expiration()
S
60 4 13
renew_url()
S
63 4 10
api_request()
S
65 4 10
register_settings()
S
60 3 14
cli_activate()
S
64 3 9
cli_deactivate()
S
64 3 9
check_activation()
S
67 3 7
http_request_args()
S
69 3 6
can_load()
S
70 2 6
disable_wporg_update()
S
64 2 9
cli_is_active()
S
67 2 8
theme_update_transient()
S
69 2 7
product_valid()
S
66 2 8
get_plan()
S
67 2 7
get_distributor_name()
S
72 2 6
get_api_url()
S
72 2 6
delete_theme_update_transient()
S
80 1 3
set_error()
S
78 1 3
increment_failed_checks()
S
75 1 4
reset_failed_checks()
S
75 1 4
register_license_hooks()
S
67 1 7
autoactivate_notice()
S
68 1 7
get_error()
S
79 1 3
load_themes_screen()
S
75 1 4